<?php
	include("global.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/div.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.js" language="javascript" type="text/javascript"></script>
<script src="js/jquery-1.4.2.js" language="javascript" type="text/javascript"></script>
<script src="js/secondmenu.js" language="javascript" type="text/javascript"></script>
<style type="text/css">
.pages { height:25px; overflow:hidden; text-align:center; line-height:25px; font-family:Verdana; }
.pages a, .pages strong { margin:0 1px; padding:2px 6px; border:1px solid #E4E4E4; text-decoration:none!important; }
.pages a:hover { border-color:#369; color:369 }
.pages strong { border-color:#369; background:#369; color:#FFF; }
.pages .prev { padding:4px 6px 2px 20px!important; padding:4px 6px 0 20px; background:url(images/arrow_left.gif) no-repeat 9% 50%; font-family:simsun; }
.pages .next { padding:4px 20px 2px 6px!important; padding:4px 20px 0 6px; background:url(images/arrow_right.gif) no-repeat 91% 50%; font-family:simsun; }
</style>


</head>
<?php
	include("conn/conn.php");
?>
<body>
<div class="box1">
	<?php 
		include("top.php"); 
		if(isset($_GET["ids"])){
			$ids = $_GET["ids"];
		}
	?>
		<embed src="diy/pics/20100623/1.swf" width="1002" height="254" style="position: absolute; left: 18%; top: 130px;"  quality="high" wmode="transparent"  />
			<img src="diy/pics/20100623/chanpinzhanshi1.png" border="0" width="1002" />
		  </div>
		</div>
		<div style=" height:10px;">&nbsp;</div>
	
	<div style=" height:20px;">&nbsp;</div>
	<div style=" width:1003px;">
		<div style=" width:200px; overflow:hidden; float:left;">
			
			<?php
				include("search.php");
			?>
		</div>
		<div style="float:left; width:50px;">&nbsp;</div>
		<div style=" float:left; width:750px;">
			<div style=" width: 750px; background-color:#8DBAE0; height:5px;"></div>
			<div style=" width:200px; height:15px;">&nbsp;</div>
			<?php $sql = mysql_query("SELECT * FROM `products` where id =".$ids); ?>
			<div style=" width:750px; height:20px;">
				<span style=" float:left; text-align:left;color:#768DC1; font-size:15px; font-weight:bolder; height:30px;"><?php  echo mysql_result($sql,0,"name"); ?></span><span style=" float:right;text-align:right" id="span1"><a href="index.php">首页</a>-><a href="products.php">产品信息</a></span>
			</div>
			<div style=" height:10px;">&nbsp;</div>
			<div style=" width:750px; height:169px; text-align:left;"><img src="<?php echo mysql_result($sql,0,"files"); ?>" height="150"></div>
			<div style="color:#768DC1; font-size:15px; font-weight:bolder; height:30px;width:750px; text-align:left">产品明细</div>
			
			<div style=" clear:both; height:20px;"></div>
			
			<div  style=" width:750px; text-align:left; ">	
				<div style="width:150px; font-weight:bolder; float:left; height:20px; line-height:20px; text-align:right">批准文号:</div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="float:left;line-height:20px; text-align:left; width:560px;  "><?php  echo mysql_result($sql,0,"wenhao"); ?></div>
			</div>
			<div style=" clear:both; height:20px;"></div>
			
			<div  style=" width:750px; text-align:left; ">	
				<div style="width:150px; font-weight:bolder; float:left; height:20px; line-height:20px; text-align:right">功能主治:</div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="float:left;line-height:20px; text-align:left; width:560px;  "><?php  echo mysql_result($sql,0,"gongneng"); ?></div>
			</div>
			<div style=" clear:both; height:20px;"></div>
			
			<div  style=" width:750px; text-align:left; ">	
				<div style="width:150px; font-weight:bolder; float:left; height:20px; line-height:20px; text-align:right">价格:</div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="float:left;line-height:20px; text-align:left; width:560px;  "><?php  echo mysql_result($sql,0,"price"); ?></div>
			</div>
			<div style=" clear:both; height:20px;"></div>
			
			<div  style=" width:750px; text-align:left; ">	
				<div style="width:150px; font-weight:bolder; float:left; height:20px; line-height:20px; text-align:right">用法用量:</div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="float:left;line-height:20px; text-align:left; width:560px;  "><?php  echo mysql_result($sql,0,"yongfa"); ?></div>
			</div>
			<div style=" clear:both; height:20px;"></div>
			
			<div  style=" width:750px; text-align:left; ">	
				<div style="width:150px; font-weight:bolder; float:left; height:20px; line-height:20px; text-align:right">规格:</div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="float:left;line-height:20px; text-align:left; width:560px;  "><?php  echo mysql_result($sql,0,"guige"); ?></div>
			</div>
			<div style=" clear:both; height:20px;"></div>
			
			<div  style=" width:750px; text-align:left; ">	
				<div style="width:150px; font-weight:bolder; float:left; height:20px; line-height:20px; text-align:right">包装:</div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="float:left;line-height:20px; text-align:left; width:560px;  "><?php  echo mysql_result($sql,0,"baozhuang"); ?></div>
			</div>
			<div style=" clear:both; height:20px;"></div>
			
			<div  style=" width:750px; text-align:left; ">	
				<div style="width:150px; font-weight:bolder; float:left; height:20px; line-height:20px; text-align:right">产品说明书:</div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="height:20px; float:left;line-height:20px; text-align:left  "><a href="<?php  echo mysql_result($sql,0,"chakan"); ?>" target="_blank">查看</a></div>
				<div style="width:20px; float:left; height:20px; line-height:20px;">&nbsp;</div>
				<div style="height:20px; float:left;line-height:20px; text-align:left  "><a href="<?php  echo mysql_result($sql,0,"xiazailianjie"); ?>">下载</a></div>
			</div>
			<div style=" clear:both; height:20px;"></div>
			
			<div style=" height:20px; clear:both;">&nbsp;</div>
			<!--<div class="pages">
				<strong>1</strong><a href="#">2</a><a href="#" class="next">下一页</a>
			</div>-->

		</div>
	</div>
	<?php include("foot.php"); ?>
</div>
</body>
</html>

